package Lono::Fetcher::Client::Base;

use strict;
use warnings;

sub _parse_with_regex {
    my ($self, $regex, $html) = @_;

    # XXX: support multiple backreferences
    my $content = ($html =~ $regex) ? $1 : '';    

    return $content;
}

1;
